package com.zlq.cn.controller.api;


import com.zlq.cn.annotations.UnLogin;
import com.zlq.cn.api.ApiParam;
import com.zlq.cn.service.un.VipLevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author zhoucl
 * @since 2020-06-08
 */
@RestController
@RequestMapping("/api/config")
public class ConfigController {
    @Autowired
    private VipLevelService vipLevelService;


    @RequestMapping("/vipLevel")
    @UnLogin
    public Object vipLevel(@RequestBody ApiParam apiParam) {
        return vipLevelService.list();
    }

}

